package cn.service;

import java.util.List;
import java.util.Map;

import cn.entity.Kind;
import cn.util.PageBean;

public interface KindService {
	int deleteByPrimaryKey(Object id);

    int insert(Kind record);

    Kind selectByPrimaryKey(Object id);

    int updateByPrimaryKey(Kind record);
    
    List<Kind> find(String name,PageBean pageBean);
    
    int getCount(String name);
}
